package com.personal.service.Impl;

import com.personal.dao.AreaDao;
import com.personal.entity.Area;
import com.personal.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 萌新
 * @version 1.0
 * @date 2021/4/13 16:48
 */

@Service
public class AreaServiceImpl implements AreaService {

    @Autowired
    private AreaDao areaDao;

    @Override
    public List<Area> getAreaList() {
        return areaDao.queryArea();
    }
}
